package cn.tedu.store.temperatureDetection.service.impl;

import cn.tedu.store.temperatureDetection.entity.dto.PatientInfoDto;
import cn.tedu.store.temperatureDetection.mapper.CustomerInfoMapper;
import cn.tedu.store.temperatureDetection.mapper.FuYouCustomerInfoMapper;
import cn.tedu.store.temperatureDetection.mapper.PerBasinfregInfoMapper;
import cn.tedu.store.temperatureDetection.mapper.RMTJMapper;
import cn.tedu.store.temperatureDetection.service.RMTJService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2022-12-01 11:28:02
 */
@Service
public class RMTJServiceImpl implements RMTJService {
    @Autowired
    private RMTJMapper rmtjMapper;

   @Autowired
   private FuYouCustomerInfoMapper fuYouCustomerInfoMapper;

   @Autowired
   private PerBasinfregInfoMapper perBasinfregInfoMapper;

    @Autowired
    private CustomerInfoMapper customerInfoMapper;
    @Override
    public List<PatientInfoDto> findPhone(String idEnNo) {
        return rmtjMapper.findPhone(idEnNo);
    }

    @Override
    public List<PatientInfoDto> findZhongYi(String idEnNo) {
        return perBasinfregInfoMapper.findPerBasinfregInfo(idEnNo);
    }
}
